package cms.bean;

import java.io.Serializable;

/**
 * 分页计算页码算法实体类
 *
 */
public class PageIndex implements Serializable{
	private static final long serialVersionUID = 951975034310230621L;
	
	/** 分页开始索引 **/
	private long startIndex;
	/** 分页结束索引 **/
	private long endIndex;
	
	public PageIndex(long startIndex, long endindex) {
		this.startIndex = startIndex;
		this.endIndex = endindex;
	}
	public long getStartIndex() {
		return startIndex;
	}
	public void setStartIndex(long startIndex) {
		this.startIndex = startIndex;
	}
	public long getEndIndex() {
		return endIndex;
	}
	public void setEndIndex(long endIndex) {
		this.endIndex = endIndex;
	}
	
}
